package com.ssd.service;

import com.ssd.api.couponAndIntegral.dto.PointsRecordDTO;
import com.ssd.entity.PointsRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ssd.entity.dto.request.PointsRecordPage;
import com.ssd.viewmodel.Pager;

/**
 * <p>
 * 积分记录表 服务类
 * </p>
 *
 * @author author
 * @since 2024-11-21
 */
public interface IPointsRecordService extends IService<PointsRecord> {

    /**
     * 积分记录分页列表
     * @param pointsRecordPage
     * @return
     */
    Pager<PointsRecord> listRecord(PointsRecordPage pointsRecordPage);

    /**
     * 新增积分记录
     *
     * @param pointsRecordDTO
     * @return
     */
    Boolean addRecord(PointsRecordDTO pointsRecordDTO);
}
